<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Foreseen parameters
    |--------------------------------------------------------------------------
    */
    'foreseen' => [
        'sort' => 'id',
        'direction' => 'asc',
        'limit' => config('coreapi.index_limit'),
        'page' => 1,
        'include' => null,
        'locale' => config('app.locale'),
    ],
    /*
    |--------------------------------------------------------------------------
    | Query operators
    |--------------------------------------------------------------------------
    */
    'operators' => [
        'eq' => '=',    // equal
        'gt' => '>',    // greater than
        'lt' => '<',    // lower than
        'lk' => 'like', // like
    ],
    /*
    |--------------------------------------------------------------------------
    | Sort options
    |--------------------------------------------------------------------------
    */
    'direction' => [
        'asc',
        'desc',
    ],
];
